package edu.snake.core.utils;

import java.awt.event.ActionListener;
import java.util.EventListener;

public interface Listeners {

    public void addActionListener(ActionListener listener);

    public void removeActionListener(ActionListener listener);

    public ActionListener[] getActionListeners();

    public String getActionCommand();

    public Object[] getListenerList();

    public <T extends EventListener> T[] getListeners(Class<T> listenerType);
}
